body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background: url(../images/login_bg.jpg) no-repeat;
    background-size: cover;
}

.logo {

    padding-top: 20px;
}

.layui-form .title {
    height: 60px;
    background: url(../images/login_title.png) no-repeat;
    background-position: center;
}

.layui-main {
    height: 100vh;
}

.layui-form {
    width: 400px;
    height: 310px;
    padding: 0 30px;
    background-color: #fff;

}

#login_form {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

}

#reg_form {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.layui-form .layui-form-item {
    position: relative;
}

.layui-form-item .layui-icon {
    position: absolute;
    left: 20px;
    top: 10px;
}

.layui-form-item input {
    padding-left: 40px;
}

.layui-form-item a {
    float: right;
}
